
import type { FilterRuleOptions, TypeConfig, RuleGenerationResult } from './types';
import { createBaseRule } from './ruleGeneratorUtils';

const currencyConfig: TypeConfig = {
    class: 'Stackable Currency',
    icon: 'Red',
    iconShape: 'Circle',
    name: '通货',
    fontSize: 60
};

export function generateCurrencyRule(options: FilterRuleOptions): RuleGenerationResult {
    return createBaseRule(options, {
        name: currencyConfig.name,
        class: currencyConfig.class,
        defaultColor: '#FF0000',
        defaultBgColor: '#FFFFFF',
        fontSize: currencyConfig.fontSize,
        icon: currencyConfig.icon,
        iconShape: currencyConfig.iconShape
    });
}